doctype html
//html(lang='en', ng-modules='backofficeApp,userManagerApp')
html(lang='en', ng-app='backofficeApp')
    head
        meta(charset='utf-8')
        meta(name='viewport', content='width=device-width, initial-scale=1, user-scalable=no')
        title= title
        link(rel='stylesheet', href='/lib/angular/ng-table.css')
        link(rel="stylesheet",href="/lib/stylesheets/simditor.css")
        link(rel="stylesheet", href="/lib/stylesheets/font-awesome.css")
        <!--amzui css-->
        link(rel='stylesheet', href='/lib/amaze/css/amazeui.min.css')
        link(rel='stylesheet', href='/lib/amaze/css/app.css')
        link(rel='stylesheet', href='/lib/amaze/css/admin.css')

        link(rel='stylesheet', href='/lib/amaze/datetimepicker/css/amazeui.datetimepicker.css')

        <!-- Font Awesome CSS -->
        link(rel='stylesheet',href='/lib/jquery/css/jquery-ui-1.11.2.css')
        <!-- 自己写的css -->
        link(rel='stylesheet',href='/css/common.css')
        link(rel='stylesheet',href='/css/login.css')
        link(rel='stylesheet',href='/css/role.css')
        <!-- 富文本编辑-->
        script(src="/lib/kindeditor/kindeditor.js")
        script(src="/lib/kindeditor/lang/zh_CN.js")
        script.
            KindEditor.ready(function (K) {
                window.editor = K.create('#editor_id');
            });

        <!--JQuery JavaScript-->
        script(src='/lib/jquery/js/jquery-1.9.1.js', type="text/javascript")
        script(src='/lib/jquery/js/jquery-ui-1.11.2.js', type="text/javascript")
        script(src='/lib/jquery/jquery.validate.min.js', type="text/javascript")
        script(src='/lib/jquery/jquery.qrcode.js', type="text/javascript")
        script(src='/lib/jquery/qrcode.js', type="text/javascript")



        <!--Angular JavaScript-->
        script(src='/lib/angular/angular.min.js', type="text/javascript")
        script(src='/lib/angular/angular-route.js', type="text/javascript")
        script(src='/lib/angular/angular-resource.js', type="text/javascript")
        script(src='/lib/angular/ngStorage.js', type="text/javascript")
        script(src='/lib/angular/ng-table.js', type="text/javascript")

        <!--amzui JavaScript-->
        script(src='/lib/amaze/js/amazeui.min.js', type="text/javascript")
        script(src='/lib/amaze/js/app.js', type="text/javascript")

        script(src='/lib/amaze/datetimepicker/js/amazeui.datetimepicker.js', type="text/javascript")
        script(src='/lib/amaze/datetimepicker/js/amazeui.datetimepicker.min.js', type="text/javascript")

        <!-- other libs -->
        script(src="/lib/javascripts/simditor/simditor-all.js")
        script(src="/lib/javascripts/angular-editor.js")

        <!-- Highcharts-->
        script(src='http://cdn.hcharts.cn/highcharts/highcharts.js')
        <!--utility -->
        script(src='js/utility/jsonToCSV.js')
        <!-- 自己写的公用js -->
        script(src='js/common/controller/frame.js')
        script(src='js/common/controller/hashChange.js')
        script(src='js/common/controller/leftMenu.js')
        script(src='js/common/controller/loadResource.js')
        script(src='js/common/model/select.js')
        script(src='js/common/model/pagination.js')
        script(src='js/common/model/roleMenu.js')
        script(src='js/common/model/cascading.js')
        script(src='js/common/model/larSelect.js')

            <!--用户管理  ： FIX ME ：目前只会放到这里-->
        script(src='js/common/angular-file-upload.js')
        script(src='/js/system/backendUser/backendUser-controller.js')
        script(src='/js/system/backendUser/backendServiceUser-controller.js')
        script(src='js/system/frontendUser/frontendUser-controller.js')
        script(src='/js/common/upload.js',type="text/javascript")
        <!--script(src='/js/system/backendHome-controller.js',type="text/javascript")-->
        script(src='/js/system/backendConsole-controller.js', type="text/javascript")
        script(src='/js/system/promotionCode-controller.js')
            <!--App JavaScript-->
        script(src='/js/route.js')
        script(src='/js/readBackendGlobalConfig.js')

            <!--问答管理-->

            <!--短信管理-->
        script(src='/js/ShortMessageManager/ShortMessageManager-controller.js')
        script(src='/js/ShortMessageManager/ShortMessageManager-service.js')
            <!--banner管理-->
        script(src='/js/community/community.js')
            <!--小6客服-->
        script(src='/js/CustomerManager/CustomerManager-controller.js')
        script(src='/js/CustomerManager/CustomerManager-service.js')
        //script(src='/js/TopicManager/TopicManager-controller.js')
        script(src='/js/TopicManager/TopicManager-service.js')
            <!--登录管理-->
        script(src='/js/login-controller.js')
            <!--抽奖活动管理-->
        script(src='js/lottery/lotteryList-controller.js')
            <!--积分商场-->
        //script(src='/js/ScoreShopManager/ScoreShopManager-controller.js')
        script(src='/js/MutualAidManager/MutualAid-controller.js')
        script(src='/js/VoucherManager/voucher-manager.js')
        script(src='/js/VoucherManager/retailer-controller.js')
        script(src='/js/VoucherManager/retailerCommunity-controller.js')
        script(src='/js/VoucherManager/retailerExchange-controller.js')

        script(src='/js/VoucherManager/communityRewardRule-controller.js')
        script(src='/js/VoucherManager/retailerBalance-controller.js')

        <!--banner管理-->
        script(src='/js/BannerManager/bannerList-controller.js')
        script(src='/js/BannerManager/bannerAdd-controller.js')
        script(src='/js/BannerManager/bannerEdit-controller.js')
        script(src='/js/BannerManager/bannerOrder-controller.js')

        <!--客服积分管理-->
        script(src='/js/cs/replyAtService.js')
        script(src='/js/cs/numberGroup-controller.js')

        script(src='/js/system/appErrorLog-controller.js')

        <!-- 日报 -->
        script(src='/js/reportManager/report-controller.js')

        script(src='/js/dosthManager/dosth-controller.js')

        <!--达人管理-->
        script(src='/js/geekManager/geekApply-controller.js')



        <!--opm2.0-->
        <!--API -->
        script(src='/js/systemManager/apiManager-controller.js')
        <!--首页-->
        script(src='/js/systemManager/home-controller.js')
        <!--菜单-->
        script(src='/js/systemManager/menu-controller.js')

        <!--用户-->
        script(src='/js/systemManager/user-controller.js')
        <!--小区-->
        script(src='/js/communityManager/community-controller.js')
        <!--帖库-->
        script(src='/js/masterManager/questionStore-controller.js')
        <!--角色-->
        script(src='/js/systemManager/role-controller.js')
        <!--日志-->
        script(src='/js/systemManager/log-controller.js')
        <!--App用户管理-->
        script(src='/js/appuserManager/userManager-controller.js')
        <!--创始人申请-->
        script(src='/js/appuserManager/creator-controller.js')
        <!--版主管理-->
        script(src='/js/appuserManager/moderator-controller.js')
        <!--雷锋团管理-->
        script(src='/js/appuserManager/leifeng-controller.js')
        <!--抽奖活动-->
        script(src='/js/operateManager/lottery-controller.js')
        <!--发帖-->
        //script(src='js/questionManager/postQuestion-controller.js')
        <!--V认证-->
        script(src='js/appuserManager/userAuth-controller.js')
        <!--积分策略-->
        script(src='js/masterManager/integralStrategy-controller.js')
        <!--话题管理-->
        script(src='js/operateManager/theme-controller.js')
        <!--活动奖品-->
        script(src='js/operateManager/prize-controller.js')
        <!--banner-->
        script(src='js/operateManager/banner-controller.js')
        <!--card-->
        script(src='js/operateManager/card-controller.js')
        <!--问题-->
        script(src='js/questionManager/question-controller.js')
        <!--activity-->
        script(src='js/operateManager/activity-controller.js')
        <!--集市-->
        script(src='js/marketManager/secondHand-controller.js')
        <!--专题-->
        script(src='js/operateManager/topic-controller.js')
        <!--行政区域-->
        script(src='js/masterManager/regions-controller.js')
        <!--数据同步-->
        script(src='js/masterManager/dataSync-controller.js')
        <!--H5管理-->
        script(src='js/operateManager/h5-controller.js')
        <!--推送信息-->
        script(src='js/operateManager/push-controller.js')
        <!-用户积分-->
        script(src='js/appuserManager/userScore-controller.js')
        <!-积分商城-->
        script(src='js/masterManager/scoreShop-controller.js')
        <!-闪屏-->
        script(src='js/masterManager/splashScreen-controller.js')

        <!-- =============== BI =============== -->
        <!-- 小区日报 -->
        script(src='/js/BIManager/dailyReporting-controller.js')
        <!-- BDMarketing -->
        script(src='/js/BIManager/BDMarketing-controller.js')
        <!-- Product -->
        script(src='/js/BIManager/Product-controller.js')
        <!-- CSOps -->
        script(src='/js/BIManager/CSOps-controller.js')
        <!-- 宝宝树66小区sprint4    add   大使佣金订单详情 luolh  20171031  start  -->
        script(src='/js/commission/commissionOrderDtl-controller.js')
        <!-- 宝宝树66小区sprint4    add   大使佣金订单详情 luolh  20171031  start  -->
        <!-- 宝宝树66小区二次改造 导出小区大使信息 add wangcan 20170918 -->
        script(src='/js/BIManager/exportReport-controller.js')
        <!-- 宝宝树66小区二次改造 导出小区大使业绩信息 add lqj 20170925 -->
        script(src='/js/BIManager/communityAmbassador-controller.js')
        <!-- 宝宝树66小区二次改造 小区大使业绩信息 add lqj 20170925 -->
        script(src='/js/BIManager/communityAmbassadordata-controller.js')
        <!-- 宝宝树66小区sprint6    add   绑定邀请人和被邀请人关系 guo.xiaomin  20171212  start -->
        script(src='/js/BIManager/userInvitation-controller.js')
        <!-- 宝宝树66小区sprint6    add   绑定邀请人和被邀请人关系 guo.xiaomin  20171212  end-- >
        <!-- =============== BI =============== -->

        <!----宝宝树四期    复核日志  add  pzs 20171031------->
        script(src='/js/commission/reexamineLog.js')
        script(src='/js/BIManager/commissionSettlement-controller.js')

        <!-- =============== COMMISSION 佣金管理 =============== -->
        <!-- 宝宝树66小区sprint4 add 66后台某天大使佣金 wangcan  20171026 -->
        script(src='/js/commission/orderTotalCommision-controller.js')
        <!-- 宝宝树66小区sprint4 add 66后台某天大使佣金 wangcan  20171031 -->
        script(src='/js/commission/ambCommissionDay-controller.js')

        <!-- =============== WEIXIN 服务号 =============== -->
        script(src='/js/weixinManager/wish-service.js')
        script(src='/js/weixinManager/weixin-service.js')
        script(src='/js/weixinManager/wish-controller.js')

        body
            header.am-topbar.admin-header
                .am-topbar-brand
                    strong 宝宝树66小区
                    small 后台管理
                .am-collapse.am-topbar-collapse#topbar-collapse
                    ul.am-nav.am-nav-pills.am-topbar-nav.am-topbar-right.admin-header-list
                        li.am-dropdown#user_message(data-am-dropdown)
                            a.am-dropdown-toggle(data-am-dropdown-toggle,href='javascript:;')
                                span.am-icon-users 用户
                                span.am-icon-caret-down
                            ul.am-dropdown-content
                                //li
                                //    a(href='javascript:;')
                                //        span.am-icon-user 用户资料
                                li
                                    a(href='#/changePassword')
                                        span.am-icon-cog 修改密码
                                li(onclick='gObj.logout()')
                                    a(href='javascript:;')
                                        span.am-icon-power-off 退出

                        li.am-hide-sm-only
                            a#admin-fullscreen(href='javascript:;')
                                span.am-icon-arrows-alt
                                span.admin-fullText 开启全屏
        block content
